package com.rslai.base.tool.servertest.config;

import com.rslai.base.tool.servertest.annotation.Property;
import com.rslai.base.tool.servertest.command.LoopStepCommand;
import com.rslai.base.tool.servertest.command.StepCommand;

public class LoopStepConfig extends CompositeStepConfig {

    @Property(required = true)
    private String time;

    public StepCommand createCommand() {
        return new LoopStepCommand(Integer.valueOf(this.time).intValue(), createChildren());
    }
}
